import request from '@/utils/requestUtil'

export function getAdoptionByPetSendId(petSendId) {
	return request({
		method: 'GET',
		url: '/pet/petadoption/getByPetSendId/' + petSendId,
		header: {
			'content-type': 'application/json;charset=utf-8'
		}
	})
}

export function agreePetAdoption(data) {
	return request({
		method: 'POST',
		url: '/pet/petadoption/agreePetAdoption',
		header: {
			'content-type': 'application/json;charset=utf-8'
		},
		data: data
	})
}

export function disagreePetAdoption(data) {
	return request({
		method: 'POST',
		url: '/pet/petadoption/disagreePetAdoption',
		header: {
			'content-type': 'application/json;charset=utf-8'
		},
		data: data
	})
}